<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>分步表单</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="../../css/public.css" media="all">
    <link rel="stylesheet" href="../../js/lay-module/step-lay/step.css" media="all">
    <style>
        body{
            background-image: url("../../images/bg1.jpg");
            background-repeat: no-repeat;
            background-size: 2000px;
        }
        .layuimini-container{
            opacity: .8;
        }
    </style>
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">

        <div class="layui-fluid">
            <div class="layui-card">
                <div class="layui-card-body" style="padding-top: 40px;">
                    <div class="layui-carousel" id="stepForm" lay-filter="stepForm" style="margin: 0 auto;">
                        <div carousel-item>
                            <div>
                                <form class="layui-form" style="margin: 0 auto;max-width: 460px;padding-top: 40px;" lay-filter="Leave">
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">员工ID:</label>
                                        <div class="layui-input-block">
                                            <input type="text" name="id" placeholder="请输入员工ID" class="layui-input" readonly/>

                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">姓名:</label>
                                        <div class="layui-input-block">
                                            <input type="text" name="name" placeholder="请输入员工姓名" value="" class="layui-input" readonly>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">部门:</label>
                                        <div class="layui-input-block">
                                            <input type="text" name="department" placeholder="请输入员工部门" value="" class="layui-input" readonly>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">请假类型:</label>
                                        <div class="layui-input-block">
                                            <select lay-verify="required" name="askType">
                                                <option value="事假" selected>事假</option>
                                                <option value="病假">病假</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">请假原因:</label>
                                        <div class="layui-input-block">
                                            <textarea placeholder="请填写请假原因" value="" class="layui-textarea" name="content"></textarea>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <div class="layui-input-block">
                                            <button class="layui-btn" lay-submit lay-filter="formStep" id="next">
                                                &emsp;下一步&emsp;
                                            </button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div>
                                <form class="layui-form" style="margin: 0 auto;max-width: 460px;padding-top: 40px;" lay-filter="Look">
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">员工ID:</label>
                                        <div class="layui-input-block">
                                            <div class="layui-form-mid layui-word-aux" id="lookId">t001</div>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">员工姓名:</label>
                                        <div class="layui-input-block">
                                            <div class="layui-form-mid layui-word-aux" id="lookName">张三</div>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">部门:</label>
                                        <div class="layui-input-block">
                                            <div class="layui-form-mid layui-word-aux" id="lookDepartment">行政部
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">请假类型:</label>
                                        <div class="layui-input-block">
                                            <div class="layui-form-mid layui-word-aux" id="lookType">病假</div>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">请假原因:</label>
                                        <div class="layui-input-block">
                                            <div class="layui-form-mid layui-word-aux" id="lookContent">生病了</div>
                                        </div>
                                    </div>
                                    <div class="layui-form-item">
                                        <div class="layui-input-block">
                                            <button type="button" class="layui-btn layui-btn-primary pre" id="prve">上一步</button>
                                            <button class="layui-btn" lay-submit lay-filter="formStep2">
                                                &emsp;确认信息&emsp;
                                            </button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div>
                                <div style="text-align: center;margin-top: 90px;">
                                    <i class="layui-icon layui-circle"
                                       style="color: white;font-size:30px;font-weight:bold;background: #52C41A;padding: 20px;line-height: 80px;">&#xe605;</i>
                                    <div style="font-size: 24px;color: #333;font-weight: 500;margin-top: 30px;">
                                        提交成功
                                    </div>
                                    <div style="font-size: 14px;color: #666;margin-top: 20px;">预计两小时后通过邮件通知您结果</div>
                                </div>
                                <div style="text-align: center;margin-top: 50px;">
                                    <button class="layui-btn next">返回</button>
                                    <!-- <button class="layui-btn layui-btn-primary">查看账单</button> -->
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="../../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="../../js/lay-config.js?v=1.0.4" charset="utf-8"></script>
<script src="js/jQuery.3.6.0.js"></script>
<script src="js/askLeave.js"></script>
</body>
</html>